package com.cha.chaApp.vaccination.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cha.chaApp.vaccination.param.VaccinationParam;
import com.cha.chaApp.vaccination.vo.VaccinationVO;
import com.cha.chaCommon.core.common.PageParam;
import com.cha.chaCommon.core.entity.hgq.Vaccination;


import java.util.List;

public interface VaccinationService {
    List<Vaccination> selectAllVaccinationByBabyId(Integer id);

    List<VaccinationVO> selectAllVaccinationVOByBabyId(PageParam param,Integer id);

    IPage<VaccinationVO> selectOrderPage(PageParam param,Integer babyId);

    void addVaccination(VaccinationParam param);
    void updateVaccination(Vaccination param);
}
